<template>
    <div style="padding:30px;">
        <el-alert :closable="false" title="">
            <transition name="fade-transform" mode="out-in">
                <template>
                    <div>
                        <el-input v-model="input" placeholder="请输入身份证签到"></el-input>
                        <el-button type="primary" @click="submit">主要按钮</el-button>
                    </div>
                </template>
            </transition>
        </el-alert>
    </div>
</template>

<script  lang="ts">
import { SignModule } from '@/store/modules/sign';
import { Component, Vue } from 'vue-property-decorator'


@Component({
    name: 'Sign',
    components: {
    }
})
export default class extends Vue {
    public input: string = ""

    public async submit() {
        if (!this.input) {
            alert("请输入内容");
            return;
        }
        let result = await SignModule.getSignInfo(this.input)
        console.error(result)
    }
}
</script>
